package com.api.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;


import com.dto.cnc.AlarmDTO;
import com.dto.cnc.CncDTO;
import lombok.Data;

@Data
public class CncData {

    @JsonIgnore
    private Long id;

   /*机床所有轴名称*/
    private String axisNames;

    /*机床坐标*/
    private String pos;
    /*机床坐标*/
    private String offset;
    /*剩余路径*/
    private String rem;

    /*机床通知信息*/
    private String alarm = AlarmDTO.getMessage();

    /*加工模式*/
    private String mode  = CncDTO.getCncWorkMode();;

    /*当前程序*/
    private String prg;

    /*系统启动时间*/
    private String proctimestart = CncDTO.getProctimestart();

    /*程序运行时间*/
    private String proctimeproc = CncDTO.getProctimeproc();

    /*剩余加工时间*/
    private String remaindertime = CncDTO.getRemaindertime();

    /*NC 状态*/
    private String ncstate = CncDTO.getCncWorkState();
}
